package hcn.protocol.ods.checkAppointment.xml;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 检查确认XML出参
 *
 * @author neoLin - 2023/01/30 17:38
 **/
@XmlRootElement(name = "Data")
public class ConfirmAppointXmlResponse {

    private Patient patient;

    private Item item;

    @XmlElement(name = "Patient")
    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    @XmlElement(name = "Item")
    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    @XmlRootElement(name = "Patient")
    public static class Patient {
        /**
         * 患者姓名
         */
        private String name;
        /**
         * 出生日期
         */
        private String birthDate;
        /**
         * 性别代码:1男性2女性9未说明的性别0未知的性别
         */
        private String sex;
        /**
         * 门诊号码
         */
        private String clinicNumber;
        /**
         * 住院号码
         */
        private String inhospitalNumber;

        @XmlElement(name = "Name")
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @XmlElement(name = "BirthDate")
        public String getBirthDate() {
            return birthDate;
        }

        public void setBirthDate(String birthDate) {
            this.birthDate = birthDate;
        }

        @XmlElement(name = "Sex")
        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        @XmlElement(name = "ClinicNumber")
        public String getClinicNumber() {
            return clinicNumber;
        }

        public void setClinicNumber(String clinicNumber) {
            this.clinicNumber = clinicNumber;
        }

        @XmlElement(name = "InhospitalNumber")
        public String getInhospitalNumber() {
            return inhospitalNumber;
        }

        public void setInhospitalNumber(String inhospitalNumber) {
            this.inhospitalNumber = inhospitalNumber;
        }
    }

    @XmlRootElement(name = "Item")
    public static class Item {
        /**
         * 检查申请单号
         */
        private String requestId;
        /**
         * 检查项目代码
         */
        private String itemCode;
        /**
         * 检查项目名称
         */
        private String itemName;
        /**
         * 预约标志
         */
        private String isAppointment;
        /**
         * 预约记录流水号
         */
        private String appointsId;
        /**
         * 预约时间
         */
        private String appointsDateTime;
        /**
         * 预约执行机构
         */
        private String appointsOrganization;
        /**
         * 预约执行科室
         */
        private String appointsDept;
        /**
         * 预约执行科室名称
         */
        private String appointsDeptName;
        /**
         * 预约队列
         */
        private String appointsQueue;
        /**
         * 预约队列名称
         */
        private String appointsQueueName;
        /**
         * 预约顺序号
         */
        private String appointsNo;
        /**
         * 检查地点
         */
        private String appointAddress;
        /**
         * 注意事项
         */
        private String appointAttention;
        /**
         * 是否空腹
         */
        private String emptyStomach;
        /**
         * 是否憋尿
         */
        private String holdUrine;
        /**
         * 申请时间
         */
        private String requestTime;
        /**
         * 申请科室
         */
        private String requestDept;
        /**
         * 申请科室名称
         */
        private String requestDeptName;
        /**
         * 申请医师
         */
        private String requestDoctor;
        /**
         * 申请医师姓名
         */
        private String requestDoctorName;
        /**
         * 预约未付费自动取消剩余时间
         */
        private long timeRemaining;

        @XmlElement(name = "RequestId")
        public String getRequestId() {
            return requestId;
        }

        public void setRequestId(String requestId) {
            this.requestId = requestId;
        }

        @XmlElement(name = "ItemCode")
        public String getItemCode() {
            return itemCode;
        }

        public void setItemCode(String itemCode) {
            this.itemCode = itemCode;
        }

        @XmlElement(name = "ItemName")
        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        @XmlElement(name = "IsAppointment")
        public String getIsAppointment() {
            return isAppointment;
        }

        public void setIsAppointment(String isAppointment) {
            this.isAppointment = isAppointment;
        }

        @XmlElement(name = "appointsId")
        public String getAppointsId() {
            return appointsId;
        }

        public void setAppointsId(String appointsId) {
            this.appointsId = appointsId;
        }

        @XmlElement(name = "AppointsDateTime")
        public String getAppointsDateTime() {
            return appointsDateTime;
        }

        public void setAppointsDateTime(String appointsDateTime) {
            this.appointsDateTime = appointsDateTime;
        }

        @XmlElement(name = "AppointsOrganization")
        public String getAppointsOrganization() {
            return appointsOrganization;
        }

        public void setAppointsOrganization(String appointsOrganization) {
            this.appointsOrganization = appointsOrganization;
        }

        @XmlElement(name = "AppointsDept")
        public String getAppointsDept() {
            return appointsDept;
        }

        public void setAppointsDept(String appointsDept) {
            this.appointsDept = appointsDept;
        }

        @XmlElement(name = "AppointsDeptName")
        public String getAppointsDeptName() {
            return appointsDeptName;
        }

        public void setAppointsDeptName(String appointsDeptName) {
            this.appointsDeptName = appointsDeptName;
        }

        @XmlElement(name = "AppointsQueue")
        public String getAppointsQueue() {
            return appointsQueue;
        }

        public void setAppointsQueue(String appointsQueue) {
            this.appointsQueue = appointsQueue;
        }

        @XmlElement(name = "AppointsQueueName")
        public String getAppointsQueueName() {
            return appointsQueueName;
        }

        public void setAppointsQueueName(String appointsQueueName) {
            this.appointsQueueName = appointsQueueName;
        }

        @XmlElement(name = "AppointsNo")
        public String getAppointsNo() {
            return appointsNo;
        }

        public void setAppointsNo(String appointsNo) {
            this.appointsNo = appointsNo;
        }

        @XmlElement(name = "AppointAddress")
        public String getAppointAddress() {
            return appointAddress;
        }

        public void setAppointAddress(String appointAddress) {
            this.appointAddress = appointAddress;
        }

        @XmlElement(name = "AppointAttention")
        public String getAppointAttention() {
            return appointAttention;
        }

        public void setAppointAttention(String appointAttention) {
            this.appointAttention = appointAttention;
        }

        @XmlElement(name = "EmptyStomach")
        public String getEmptyStomach() {
            return emptyStomach;
        }

        public void setEmptyStomach(String emptyStomach) {
            this.emptyStomach = emptyStomach;
        }

        @XmlElement(name = "HoldUrine")
        public String getHoldUrine() {
            return holdUrine;
        }

        public void setHoldUrine(String holdUrine) {
            this.holdUrine = holdUrine;
        }

        @XmlElement(name = "RequestTime")
        public String getRequestTime() {
            return requestTime;
        }

        public void setRequestTime(String requestTime) {
            this.requestTime = requestTime;
        }

        @XmlElement(name = "RequestDept")
        public String getRequestDept() {
            return requestDept;
        }

        public void setRequestDept(String requestDept) {
            this.requestDept = requestDept;
        }

        @XmlElement(name = "RequestDeptName")
        public String getRequestDeptName() {
            return requestDeptName;
        }

        public void setRequestDeptName(String requestDeptName) {
            this.requestDeptName = requestDeptName;
        }

        @XmlElement(name = "RequestDoctor")
        public String getRequestDoctor() {
            return requestDoctor;
        }

        public void setRequestDoctor(String requestDoctor) {
            this.requestDoctor = requestDoctor;
        }

        @XmlElement(name = "RequestDoctorName")
        public String getRequestDoctorName() {
            return requestDoctorName;
        }

        public void setRequestDoctorName(String requestDoctorName) {
            this.requestDoctorName = requestDoctorName;
        }

        @XmlElement(name = "TimeRemaining")
        public long getTimeRemaining() {
            return timeRemaining;
        }

        public void setTimeRemaining(long timeRemaining) {
            this.timeRemaining = timeRemaining;
        }
    }
}
